package com.ss.summer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ss.summer.entity.enums.SummerRecordResult;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 审核记录表
 * </p>
 *
 * @author xia17
 * @since 2019-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SummerRecord implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 结果
     */
    private SummerRecordResult resultId;

    /**
     * 审核人
     */
    private String memberId;

    /**
     * 审核人作为哪个组审核的
     */
    private Integer groupId;

    /**
     * 意见
     */
    private String opinion;

    /**
     * 审核时间
     */
    private LocalDateTime createAt;

    /**
     * 节点id
     */
    private Integer nodeId;

    /**
     * 实例id
     */
    private Integer instanceId;

    /**
     * 显示给用户看的结果
     */
    private String result;


}
